package com.museum.entity.DTO.area;

import com.museum.entity.DTO.dept.QueryDept;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author LB
 * @version 1.0
 * @date 2020/12/13 9:15
 */
@Data
public class AreaDTO {
    @ApiModelProperty(value = "自增主键")
    private String areaId;

    @ApiModelProperty(value = "父节点")
    private String parentId;
    @ApiModelProperty(value = "地区编号")
    private String areaNumber;

    @ApiModelProperty(value = "名称")
    private String areaName;

    @ApiModelProperty(value = "领导")
    private String leader;
    @ApiModelProperty(value = "手机")
    private String phone;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "部门状态")
    private String status;
    @ApiModelProperty(value = "下级部门")
    private List<QueryDept> children = new ArrayList<>();
    @ApiModelProperty(value = "创建时间")
    private String createTime;
    @ApiModelProperty(value = "描述")
    private String areaDesc;
}
